package com.hualan.entity;

import com.hualan.service.UserService;

import java.util.ArrayList;
import java.util.List;

public class Users {
    private Integer id;
    private String username;
    private String password;
    private Integer del;
    private Double money;
    private UserInfo userInfo;

    public Users() {}

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Users(Integer id, String username, String password, Integer del) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.del = del;
    }

    public Integer getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public Integer getDel() {
        return del;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
}
